package com.olocat.cjx.nsims.service

import com.olocat.cjx.nsims.pojo.personnel.Doctor

interface DoctorService {
    fun list(): List<Doctor>
    fun getById(id: String): Doctor
    fun updateById(doctor: Doctor)
    fun removeById(id: String)
    fun save(doctor: Doctor)
    fun getByName(name:String): List<Doctor>
    fun getDoctorByDepartment(department:Int):List<Doctor>
    fun getDoctorByName(name: String):List<Doctor>
}